<?php
/**
 * Created by PhpStorm.
 * Author: ls
 * Time: 2023/10/10 13:22
 * Desc: 相册
 */
class Request_Api_V2_Promo extends Request_Api_V2_Base
{
    public function __construct($request_param)
    {
        parent::__construct($request_param);
    }

    public function promo_list()
    {
        $this->rules = [
            ['path', ['not_empty']],
        ];

        return $this;
    }

    public function frequency_record()
    {
        $this->validation->rule('mid', ['Rule_Member', 'need_member']);
        $this->rules = [
            ['promo_id', ['not_empty', 'digit']],
        ];

        return $this;
    }

}